package com.xyz.domain.ext;

public enum EnumMetrialType {

    Bean(1,"金豆"),Icon(2,"金币"),Diamond(3,"彩钻"),Ticket(4,"票");

    private Integer key;

    private String name;

    EnumMetrialType(Integer key, String name){
        this.key = key;
        this.name = name;
    }

    public Integer getKey() {
        return key;
    }

    public void setKey(Integer key) {
        this.key = key;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
